package com.huanzhidadi.jsoup.entity;

import com.huanzhidadi.jsoup.annotation.Extract;
import com.huanzhidadi.jsoup.annotation.JsoupDocument;
import lombok.Data;

@Data
@JsoupDocument(domain = "http://blog.huanzhidadi.com")
public class ArticleContent {

    @Extract(cssQuery = ".perfree-article-content", contentType = 2)
    private String content;

    @Extract(cssQuery = ".article-title > p")
    private String author;

    @Extract(cssQuery = ".article-content-bottom-left", prefix = "最后修改于 ")
    private String createTime;
}
